//
//  ClerkView.m
//  ScalperMerchant
//
//  Created by 王云 on 2017/10/6.
//  Copyright © 2017年 WY. All rights reserved.
//

#import "ClerkView.h"

@implementation ClerkView

- (instancetype)initWithCoder:(NSCoder *)aDecoder{
    self = [super initWithCoder:aDecoder];
    if (self) {
        
        _WebsiteLab.layer.borderColor = WYColor(125, 124, 123).CGColor;
        
    }
    return self;
}
- (IBAction)updateClick:(id)sender {
    if (_click) {
        _click();
    }
}


- (IBAction)copyClick:(id)sender {
    
    [SCTool showMessage:@"邀请码复制成功"];
    UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
    
    pasteboard.string = [_WebsiteLab.text stringByReplacingOccurrencesOfString:@" " withString:@""];
}



@end
